// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.liuxinlong.modules.dao.MenuDao;
import com.liuxinlong.modules.entity.Menu;
import com.liuxinlong.modules.mapper.MenuMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年2月22日
 */
@Service
public class MenuDaoImpl extends ServiceImpl<MenuMapper, Menu> implements MenuDao {

	@Override
	public List<Menu> pageMenuList(Map<String, Object> queryParam) {
		return baseMapper.pageMenuList(queryParam);
	}

	@Override
	public int getMenuCount(Map<String, Object> queryParam) {
		return baseMapper.getMenuCount(queryParam);
	}

	@Override
	public List<Menu> queryMenuList() {
		return baseMapper.queryMenuList();
	}

	@Override
	public Map<String, Map<String, String>> getMenuMap() {
		return baseMapper.getMenuMap();
	}

	@Override
	public Menu getOneMenuByUrl(String url) {
		return baseMapper.getOneMenuByUrl(url);
	}

}
